package Logica;

import DAO.ConsultaLogin;

import GUI.Menu;

import javax.swing.JOptionPane;

public class Login {
  public Login() {
  }
  
  public boolean login(String nickname, String password)
  {
    ConsultaLogin a = new ConsultaLogin();
    if(nickname != null && password != null)
     if(a.Login(nickname,password)){
             return true;
           }
   
    return false;
  }
}
